[mirrors]
http://ftp.easysw.com/pub/fltk/snapshots/fltk-1.3.x-r9708.tar.gz
http://ftp.fi.netbsd.org/pub/gnu/easysw/fltk/snapshots/fltk-1.3.x-r9708.tar.gz

[main]
filesize=4343506
sha512=b292662d0286fc660e5d6c769a5a22311e1acf8264706383dc8f5701a96a409d6844ec23aa03a5926f48de1db3720d78b2040db171b745a0f4453911ff882c09

[deps.host]
dynamic-toolchain

[deps]
libpng
libjpeg
alsa-lib
libx11

[build]
#patch -p1 < "$K/some.patch" || exit 1
debugflags=
test "$DEBUGBUILD" = "1" && debugflags="-g -O0"
CXXFLAGS="-D_GNU_SOURCE -D_BSD_SOURCE $debugflags" ./configure -C --prefix="$butch_prefix" || exit 1
sed -i 's@.SILENT:@@' makeinclude
make -j$MAKE_THREADS || exit 1
make DESTDIR="$butch_install_dir" install || exit 1
